import { Component, OnInit } from '@angular/core';
import {Router} from '@angular/router';

@Component({
  selector: 'app-purchaselist',
  templateUrl: './purchaselist.page.html',
  styleUrls: ['./purchaselist.page.scss'],
})
export class PurchaselistPage implements OnInit {

  constructor(private router:Router) { }

  ngOnInit() {
  }



  addPurchase(){

    this.router.navigate(['/purchaseedit',{"state":'add'}]);
  }

}
